<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>
<script>
  function redirectAfterDelay() {
    setTimeout(function() {
      window.location.href = "./home.html";
    }, 2000); // 1000毫秒即1秒
  }
</script>

<body onload="redirectAfterDelay()">
  <!-- 页面内容 -->
</body>

</html>